package cn.zjj.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class User {
    private Long id;
    private String name;
    private String hobby;
    public User(Long id, String name, String hobby) {
        this.id = id;
        this.name = name;
        this.hobby = hobby;
    }
}
